package com.it.myd.service.main.module.world;

import com.it.myd.bean.box.world.Ability;
import com.it.myd.bean.box.world.MyObject;
import com.it.myd.bean.box.world.Player;
import com.it.myd.bean.box.world.Resource;
import com.it.myd.bean.main.User;

import java.util.List;

public interface PlayerService {
    public void setPlayerList(List<Player> playerList);
    public List<Player> getPlayerList();
    public void playerMove();
    public void playerCreate();
    public void addPlayer(User user);
    public void changerState(User user,int state);
    public void playerMove(User user,double toLeft,double toTop);
    public void outPlayer(Resource resource);
    public int getPlayerSh(User user,MyObject obj);
    public void stopPlayer(User user);
    public Ability  getPlayerAbility(int userid,MyObject obj);
}
